@extends('admin.base.parent')
@section('content')
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="#">主页</a>
							</li>
							<li>
								<a href="#">轮播管理页</a>
							</li>
							<li class="active">添加轮播图片</li>
						</ul><!-- .breadcrumb -->
						
						<div class="nav-search" id="nav-search">
							<form class="form-search">
								<span class="input-icon">
									<input type="text" placeholder="查找" class="nav-search-input" id="nav-search-input" autocomplete="off" />
									<i class="icon-search nav-search-icon"></i>
								</span>
							</form>
						</div><!-- #nav-search -->
					</div>

					<div class="page-content">
						<div class="page-header">
							<h1>
								修改限时秒杀
								<small>
									<i class="icon-double-angle-right"></i>
									限时秒杀详情
								</small>
							</h1>
						</div><!-- /.page-header -->

						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->

								<form class="form-horizontal" role="form" action="{{ url('admin/flash').'/'.$ob->id }}" method='post' enctype='multipart/form-data'>
									{{ csrf_field() }}
									{{ method_field('PUT') }}
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 限时秒杀商品名称 </label>

										<div class="col-sm-9">
											<input type="text" name='title' id="form-field-1" placeholder="名称" class="col-xs-10 col-sm-5" value="{{ $ob->title }}"/>
										</div>
									</div>

									<div class="space-4"></div>

									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-input-readonly"> 显示秒杀价格 </label>
											<input type="text" name='prace' id="form-field-1" placeholder="名称" class="col-xs-10 col-sm-5" value="{{ $ob->prace }}"/>
										<div class="col-sm-9">
											
										</div>
									</div>

									<div class="space-4"></div>
									
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-5">商品图片</label>

										<div class="col-sm-9">
											<div class="clearfix">
												<input type="file" name='pic'>
											</div>
											<div>
												<img src="{{ url('admin/upload/'.$ob->pic) }}" style="width:200px;height='100px'">
											</div>			
										</div>
									</div>

									

									<div class="clearfix form-actions">
										<div class="col-md-offset-3 col-md-9">
											<button class="btn btn-info" type="submit">
												<i class="icon-ok bigger-110"></i>
												提交
											</button>

											&nbsp; &nbsp; &nbsp;
											<button class="btn" type="reset">
												<i class="icon-undo bigger-110"></i>
												重置
											</button>
										</div>
									</div>
							</div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->
			</form>
@endsection